/**
 * Universidad del Valle de Guatemala
 * Programacion Orientada a Objetos
 * Archivo: DispositivoElectronico.java
 * Proyecto 02: Cartera Virtual
 */

package InterfazGrafica;

import CodigoFuente.*;

import javax.swing.*;
import java.util.*;

 /**
 * @author Grupo 09
 * Descripcion: contiene los componentes de la interfaz grafica
 */
public final class GUICarteraVirtual extends JFrame {

    
    // Variable en donde se almacenarán temporalmente los datos en los campos
    //de textoo
    ArrayList<String> tFields;
    boolean inicioSecion = false;
    
    /**
     * Constructor:
     * inicializa todas las variables, y limpia el framework.
     */
    public GUICarteraVirtual() {
        initComponents();
        removeAllMainPanels();
        tFields = new ArrayList<String>();
    }

    /** 
     * Metodo utilizado por el constructor para inicializar las variables y 
     * asignarles los valores principales.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jP_Busqueda = new JPanel();
        jL_AI_Link1 = new javax.swing.JLabel();
        jCB_B_Tipo = new JComboBox();
        jSP_B_Tabla = new javax.swing.JScrollPane();
        jT_Busqueda = new javax.swing.JTable();
        jTF_B_Busqueda = new JTextField();
        jB_B_Buscar = new javax.swing.JButton();
        jP_Estado = new JPanel();
        jL_EstadoChaning = new javax.swing.JLabel();
        jP_BusquedaTablas = new JPanel();
        jTF_BT_Busqueda = new JTextField();
        jB_BT_Buscar = new javax.swing.JButton();
        jL_BT_NombreGrupo = new JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jT_BusquedaTablas = new javax.swing.JTable();
        jP_RegistroUsuario = new JPanel();
        jB_RU_Nuevo = new JButton();
        jB_RU_Guardar = new JButton();
        jB_RU_Cancelar = new JButton();
        jL_RU_RegistroUsuario = new JLabel();
        jL_RU_Nombre1 = new JLabel();
        jL_RU_Nombre2 = new javax.swing.JLabel();
        jL_RU_Apellido1 = new JLabel();
        jL_RU_Apellido2 = new javax.swing.JLabel();
        jL_RU_Usuario = new JLabel();
        jL_RU_Cotrasena = new JLabel();
        jTF_RU_Nombre1 = new JTextField();
        jTF_RU_Nombre2 = new JTextField();
        jPF_RU_Contrasena = new JPasswordField();
        jButton5 = new javax.swing.JButton();
        jTF_RU_Apellido2 = new JTextField();
        jTF_RU_Apellido1 = new JTextField();
        jTF_RU_Usuario = new JTextField();
        jPF_RU_Contrasena1 = new JPasswordField();
        jL_RU_Cotrasena1 = new JLabel();
        jP_DispositivosElectronicos = new JPanel();
        jB_DE_Nuevo = new javax.swing.JButton();
        jB_DE_AgregarCampo = new JButton();
        jB_DE_Guardar = new JButton();
        jB_DE_Cancelar = new JButton();
        jL_DE_DispositivosElectronicos = new JLabel();
        jL_DE_Titulo = new javax.swing.JLabel();
        jL_DE_Usuario = new javax.swing.JLabel();
        jL_DE_Cotrasena = new JLabel();
        jTF_DE_Titulo = new JTextField();
        jTF_DE_Usuario = new JTextField();
        jPF_DE_Contrasena = new JPasswordField();
        jButton4 = new javax.swing.JButton();
        jL_DE_CampoExtra1 = new javax.swing.JLabel();
        jL_DE_CampoExtra2 = new javax.swing.JLabel();
        jTF_DE_CampoExtra1 = new javax.swing.JTextField();
        jTF_DE_CampoExtra2 = new javax.swing.JTextField();
        jP_LicenciaProductos = new JPanel();
        jB_LP_AgregarCampo = new JButton();
        jB_LP_Nuevo = new JButton();
        jB_LP_Guardar = new JButton();
        jB_LP_Cancelar = new JButton();
        jL_LicenciaProductos = new JLabel();
        jL_LP_Titulo = new JLabel();
        jL_LP_Usuario = new JLabel();
        jL_LP_Cotrasena = new JLabel();
        jL_LP_Link = new JLabel();
        jL_LP_NoSerie = new JLabel();
        jL_LP_Key = new JLabel();
        jL_LP_FechaAdquisicion = new JLabel();
        jL_LP_FechaExpiracion = new JLabel();
        jPF_LP_Contrasena = new JPasswordField();
        jFTF_LP_FechaAdquisicion = new JFormattedTextField();
        jFTF_LP_FechaExpiracion = new JFormattedTextField();
        jTF_LP_NoSerie = new JTextField();
        jTF_LP_Titulo = new JTextField();
        jTF_LP_Usuario = new JTextField();
        jTF_LP_Link = new JTextField();
        jTF_LP_Key = new JTextField();
        jButton1 = new javax.swing.JButton();
        jL_LP_CampoExtra1 = new javax.swing.JLabel();
        jL_LP_CampoExtra2 = new javax.swing.JLabel();
        jTF_LP_CampoExtra1 = new javax.swing.JTextField();
        jTF_LP_CampoExtra2 = new javax.swing.JTextField();
        jP_AplicacionInternet = new JPanel();
        jB_AI_Nuevo = new JButton();
        jB_AI_AgregarCampo = new JButton();
        jB_AI_Guardar = new JButton();
        jB_AI_Cancelar = new JButton();
        jL_AI_AplicacionesInternet = new JLabel();
        jL_AI_Titulo = new JLabel();
        jL_AI_Link = new javax.swing.JLabel();
        jL_AI_Usuario = new JLabel();
        jL_AI_Cotrasena = new JLabel();
        jTF_AI_Titulo = new JTextField();
        jTF_AI_Link = new JTextField();
        jTF_AI_Usuario = new JTextField();
        jPF_AI_Contrasena = new JPasswordField();
        jButton3 = new javax.swing.JButton();
        jL_AI_CampoExtra1 = new javax.swing.JLabel();
        jL_AI_CampoExtra2 = new javax.swing.JLabel();
        jTF_AI_CampoExtra1 = new javax.swing.JTextField();
        jTF_AI_CampoExtra2 = new javax.swing.JTextField();
        jP_Membresias = new JPanel();
        jB_M_Nuevo = new JButton();
        jB_M_AgregarCampo = new JButton();
        jB_M_Guardar = new JButton();
        jB_M_Cancelar = new JButton();
        jL_Membresia = new JLabel();
        jL_M_Titulo = new JLabel();
        jL_M_Usuario = new JLabel();
        jL_M_Cotrasena = new JLabel();
        jL_M_FechaAdquisicion = new JLabel();
        jL_M_FechaExpiracion = new JLabel();
        jTF_M_Titulo = new JTextField();
        jTF_M_Usuario = new JTextField();
        jPF_M_Contrasena = new JPasswordField();
        jFTF_M_FechaAdquisicion = new JFormattedTextField();
        jFTF_M_FechaExpiracion = new JFormattedTextField();
        jButton2 = new javax.swing.JButton();
        jL_M_CampoExtra1 = new javax.swing.JLabel();
        jL_M_CampoExtra2 = new javax.swing.JLabel();
        jTF_M_CampoExtra1 = new javax.swing.JTextField();
        jTF_M_CampoExtra2 = new javax.swing.JTextField();
        jP_SignIn = new javax.swing.JPanel();
        jTF_SI_Usuario = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jB_SI_Nuevo = new javax.swing.JButton();
        jB_SI_Cancelar = new javax.swing.JButton();
        jPF_SI_Contrasena = new javax.swing.JPasswordField();
        jB_SI_Entrar = new javax.swing.JButton();
        jP_CambiarContrasena = new javax.swing.JPanel();
        jL_CC_Contrasena2 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jB_CC_Cancelar = new javax.swing.JButton();
        jPF_CC_Contrasena2 = new javax.swing.JPasswordField();
        jB_CC_Cambiar = new javax.swing.JButton();
        jPF_CC_Contrasena1 = new javax.swing.JPasswordField();
        jL_CC_Contrasena1 = new javax.swing.JLabel();
        jPF_CC_ContrasenaActual = new javax.swing.JPasswordField();
        jL_CC_ContrasenaActual = new javax.swing.JLabel();
        jMenuBar = new javax.swing.JMenuBar();
        jM_Grupos = new JMenu();
        jMI_G_AplicacionInternet = new JMenuItem();
        jMI_G_DispositivosElectronicos = new JMenuItem();
        jMI_G_LicenciaProductos = new JMenuItem();
        jMI_G_Membresias = new JMenuItem();
        jM_Ajustes = new javax.swing.JMenu();
        jMI_A_CambiarContrasena = new JMenuItem();
        jMI_A_BorraroTodo = new JMenuItem();
        jM_Consultas = new javax.swing.JMenu();
        jM_C_Tablas = new JMenu();
        jMI_C_T_AplicacionInternet = new JMenuItem();
        jMI_C_T_DispositivosElectronicos = new JMenuItem();
        jMI_C_T_LicenciaProductos = new JMenuItem();
        jMI_C_T_Membresias = new JMenuItem();

        jP_Busqueda.setBorder(javax.swing.BorderFactory.createTitledBorder("busqueda"));

        jL_AI_Link1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_Link1.setText("Buscar por:");

        jCB_B_Tipo.setModel(new DefaultComboBoxModel(new String[] { "Grupo", "Titulo", "Usuario"}));

        jSP_B_Tabla.setViewportView(jT_Busqueda);

        jB_B_Buscar.setText("Buscar");

        javax.swing.GroupLayout jP_BusquedaLayout = new javax.swing.GroupLayout(jP_Busqueda);
        jP_Busqueda.setLayout(jP_BusquedaLayout);
        jP_BusquedaLayout.setHorizontalGroup(
            jP_BusquedaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_BusquedaLayout.createSequentialGroup()
                .addGroup(jP_BusquedaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_BusquedaLayout.createSequentialGroup()
                        .addGap(50, 50, 50)
                        .addComponent(jTF_B_Busqueda, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jL_AI_Link1)
                        .addGap(18, 18, 18)
                        .addComponent(jCB_B_Tipo, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(37, 37, 37)
                        .addComponent(jB_B_Buscar))
                    .addGroup(jP_BusquedaLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jSP_B_Tabla, javax.swing.GroupLayout.DEFAULT_SIZE, 1097, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jP_BusquedaLayout.setVerticalGroup(
            jP_BusquedaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_BusquedaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_BusquedaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_B_Busqueda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_AI_Link1)
                    .addComponent(jCB_B_Tipo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jB_B_Buscar))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSP_B_Tabla, javax.swing.GroupLayout.PREFERRED_SIZE, 377, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Cartera Virtual");
        setName("Cartera Virtual"); // NOI18N

        jP_Estado.setBackground(new java.awt.Color(204, 204, 255));
        jP_Estado.setBorder(javax.swing.BorderFactory.createTitledBorder("Estado:"));

        jL_EstadoChaning.setText("");

        javax.swing.GroupLayout jP_EstadoLayout = new javax.swing.GroupLayout(jP_Estado);
        jP_Estado.setLayout(jP_EstadoLayout);
        jP_EstadoLayout.setHorizontalGroup(
            jP_EstadoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_EstadoLayout.createSequentialGroup()
                .addContainerGap(510, Short.MAX_VALUE)
                .addComponent(jL_EstadoChaning, javax.swing.GroupLayout.PREFERRED_SIZE, 353, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        jP_EstadoLayout.setVerticalGroup(
            jP_EstadoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jL_EstadoChaning)
        );

        jP_BusquedaTablas.setBackground(new java.awt.Color(204, 204, 255));
        jP_BusquedaTablas.setBorder(javax.swing.BorderFactory.createTitledBorder("busqueda"));
        jP_BusquedaTablas.setPreferredSize(new java.awt.Dimension(500, 508));

        jB_BT_Buscar.setText("Buscar");
        jB_BT_Buscar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_BT_BuscarActionPerformed(evt);
            }
        });

        jL_BT_NombreGrupo.setFont(new java.awt.Font("Tempus Sans ITC", 1, 18));
        jL_BT_NombreGrupo.setText("titulo de datos d tabla");

        jScrollPane2.setViewportView(jT_BusquedaTablas);

        javax.swing.GroupLayout jP_BusquedaTablasLayout = new javax.swing.GroupLayout(jP_BusquedaTablas);
        jP_BusquedaTablas.setLayout(jP_BusquedaTablasLayout);
        jP_BusquedaTablasLayout.setHorizontalGroup(
            jP_BusquedaTablasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_BusquedaTablasLayout.createSequentialGroup()
                .addGroup(jP_BusquedaTablasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_BusquedaTablasLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jTF_BT_Busqueda, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(67, 67, 67)
                        .addComponent(jB_BT_Buscar))
                    .addGroup(jP_BusquedaTablasLayout.createSequentialGroup()
                        .addGap(254, 254, 254)
                        .addComponent(jL_BT_NombreGrupo))
                    .addGroup(jP_BusquedaTablasLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 468, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jP_BusquedaTablasLayout.setVerticalGroup(
            jP_BusquedaTablasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_BusquedaTablasLayout.createSequentialGroup()
                .addComponent(jL_BT_NombreGrupo)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jP_BusquedaTablasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_BT_Busqueda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jB_BT_Buscar))
                .addGap(18, 18, 18)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 312, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(101, 101, 101))
        );

        jP_RegistroUsuario.setBackground(new java.awt.Color(204, 204, 255));

        jB_RU_Nuevo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/nuevo.gif"))); // NOI18N
        jB_RU_Nuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_RU_NuevoActionPerformed(evt);
            }
        });

        jB_RU_Guardar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/save.jpg"))); // NOI18N
        jB_RU_Guardar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_RU_GuardarActionPerformed(evt);
            }
        });

        jB_RU_Cancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/cancelar.jpg"))); // NOI18N
        jB_RU_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_RU_CancelarActionPerformed(evt);
            }
        });

        jL_RU_RegistroUsuario.setFont(new java.awt.Font("Tempus Sans ITC", 1, 18));
        jL_RU_RegistroUsuario.setText("Registro de Usuario");

        jL_RU_Nombre1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Nombre1.setText("Nombre1");

        jL_RU_Nombre2.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Nombre2.setText("Nombre2");

        jL_RU_Apellido1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Apellido1.setText("Apellido1");

        jL_RU_Apellido2.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Apellido2.setText("Apellido2");

        jL_RU_Usuario.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Usuario.setText("Usuario");

        jL_RU_Cotrasena.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Cotrasena.setText("Contraseña");

        jPF_RU_Contrasena.setText("jPasswordField1");

        jButton5.setText("Contraeña Sugerida");
        jButton5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton5ActionPerformed(evt);
            }
        });

        jPF_RU_Contrasena1.setText("jPasswordField1");

        jL_RU_Cotrasena1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_RU_Cotrasena1.setText("Repita Contrasena");

        javax.swing.GroupLayout jP_RegistroUsuarioLayout = new javax.swing.GroupLayout(jP_RegistroUsuario);
        jP_RegistroUsuario.setLayout(jP_RegistroUsuarioLayout);
        jP_RegistroUsuarioLayout.setHorizontalGroup(
            jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                        .addGap(78, 78, 78)
                        .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jL_RU_Cotrasena)
                            .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 3, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addComponent(jL_RU_Nombre1)
                                        .addComponent(jL_RU_Nombre2))
                                    .addComponent(jL_RU_Apellido1)
                                    .addComponent(jL_RU_Apellido2)))
                            .addComponent(jL_RU_Usuario)
                            .addComponent(jL_RU_Cotrasena1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                                .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jL_RU_RegistroUsuario)
                                    .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                        .addComponent(jTF_RU_Usuario, javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jPF_RU_Contrasena, javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jPF_RU_Contrasena1, javax.swing.GroupLayout.Alignment.LEADING)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 48, Short.MAX_VALUE)
                                .addComponent(jButton5)
                                .addGap(44, 44, 44))
                            .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jTF_RU_Apellido2, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTF_RU_Apellido1, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTF_RU_Nombre2, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTF_RU_Nombre1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 177, Short.MAX_VALUE))))
                    .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                        .addGap(97, 97, 97)
                        .addComponent(jB_RU_Nuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_RU_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_RU_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        jP_RegistroUsuarioLayout.setVerticalGroup(
            jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jL_RU_RegistroUsuario)
                        .addGap(47, 47, 47)
                        .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                                .addComponent(jL_RU_Nombre1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jL_RU_Nombre2)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jL_RU_Apellido1)
                                .addGap(15, 15, 15)
                                .addComponent(jL_RU_Apellido2))
                            .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                                .addComponent(jTF_RU_Nombre2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jTF_RU_Apellido1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(15, 15, 15)
                                .addComponent(jTF_RU_Apellido2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(10, 10, 10)
                        .addComponent(jTF_RU_Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(25, 25, 25)
                        .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jPF_RU_Contrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jL_RU_Cotrasena)
                            .addComponent(jButton5)))
                    .addGroup(jP_RegistroUsuarioLayout.createSequentialGroup()
                        .addGap(79, 79, 79)
                        .addComponent(jTF_RU_Nombre1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 108, Short.MAX_VALUE)
                        .addComponent(jL_RU_Usuario)
                        .addGap(54, 54, 54)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jL_RU_Cotrasena1)
                    .addComponent(jPF_RU_Contrasena1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(42, 42, 42)
                .addGroup(jP_RegistroUsuarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jB_RU_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 37, Short.MAX_VALUE)
                    .addComponent(jB_RU_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jB_RU_Nuevo, 0, 0, Short.MAX_VALUE))
                .addContainerGap())
        );

        jP_DispositivosElectronicos.setBackground(new java.awt.Color(204, 204, 255));

        jB_DE_Nuevo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/nuevo.gif"))); // NOI18N
        jB_DE_Nuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_DE_NuevoActionPerformed(evt);
            }
        });

        jB_DE_AgregarCampo.setText("Agregar Campo");
        jB_DE_AgregarCampo.setText("AgregarCampo");
        jB_DE_AgregarCampo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_DE_AgregarCampoActionPerformed(evt);
            }
        });

        jB_DE_Guardar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/save.jpg"))); // NOI18N
        jB_DE_Guardar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_DE_GuardarActionPerformed(evt);
            }
        });

        jB_DE_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_DE_CancelarActionPerformed(evt);
            }
        });

        jL_DE_DispositivosElectronicos.setFont(new java.awt.Font("Tempus Sans ITC", 1, 18));
        jL_DE_DispositivosElectronicos.setText("Dispositivos Electronicos");

        jL_DE_Titulo.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_DE_Titulo.setText("Titulo Dispositivo");

        jL_DE_Usuario.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_DE_Usuario.setText("Usuario");

        jL_DE_Cotrasena.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_DE_Cotrasena.setText("Contraseña");

        jPF_DE_Contrasena.setText("");

        jButton4.setText("Contraseña Sugerida");
        jButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton4ActionPerformed(evt);
            }
        });

        jL_DE_CampoExtra1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_DE_CampoExtra1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jL_DE_CampoExtra1.setText("Campo Extra");
        jL_DE_CampoExtra1.setEnabled(false);

        jL_DE_CampoExtra2.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_DE_CampoExtra2.setText("Campos Extra");
        jL_DE_CampoExtra2.setEnabled(false);

        jTF_DE_CampoExtra1.setEnabled(false);
        jTF_DE_CampoExtra1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTF_DE_CampoExtra1ActionPerformed(evt);
            }
        });

        jTF_DE_CampoExtra2.setEnabled(false);

        javax.swing.GroupLayout jP_DispositivosElectronicosLayout = new javax.swing.GroupLayout(jP_DispositivosElectronicos);
        jP_DispositivosElectronicos.setLayout(jP_DispositivosElectronicosLayout);
        jP_DispositivosElectronicosLayout.setHorizontalGroup(
            jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_DispositivosElectronicosLayout.createSequentialGroup()
                .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_DispositivosElectronicosLayout.createSequentialGroup()
                        .addGap(46, 46, 46)
                        .addComponent(jB_DE_Nuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_DE_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jB_DE_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jB_DE_AgregarCampo))
                    .addGroup(jP_DispositivosElectronicosLayout.createSequentialGroup()
                        .addGap(87, 87, 87)
                        .addComponent(jL_DE_DispositivosElectronicos))
                    .addGroup(jP_DispositivosElectronicosLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jL_DE_Cotrasena)
                            .addComponent(jL_DE_Usuario)
                            .addComponent(jL_DE_Titulo)
                            .addComponent(jL_DE_CampoExtra1, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                            .addComponent(jL_DE_CampoExtra2))
                        .addGap(42, 42, 42)
                        .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTF_DE_CampoExtra2, javax.swing.GroupLayout.DEFAULT_SIZE, 114, Short.MAX_VALUE)
                            .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jTF_DE_CampoExtra1, javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(jPF_DE_Contrasena, javax.swing.GroupLayout.Alignment.TRAILING, 0, 0, Short.MAX_VALUE)
                                .addComponent(jTF_DE_Usuario)
                                .addComponent(jTF_DE_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(18, 18, 18)
                        .addComponent(jButton4)
                        .addGap(60, 60, 60)))
                .addContainerGap())
        );
        jP_DispositivosElectronicosLayout.setVerticalGroup(
            jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_DispositivosElectronicosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jL_DE_DispositivosElectronicos)
                .addGap(31, 31, 31)
                .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_DispositivosElectronicosLayout.createSequentialGroup()
                        .addComponent(jL_DE_Titulo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jL_DE_Usuario)
                        .addGap(18, 18, 18)
                        .addComponent(jL_DE_Cotrasena)
                        .addGap(18, 18, 18)
                        .addComponent(jL_DE_CampoExtra1)
                        .addGap(18, 18, 18)
                        .addComponent(jL_DE_CampoExtra2))
                    .addGroup(jP_DispositivosElectronicosLayout.createSequentialGroup()
                        .addComponent(jTF_DE_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTF_DE_Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jPF_DE_Contrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton4))
                        .addGap(18, 18, 18)
                        .addComponent(jTF_DE_CampoExtra1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jTF_DE_CampoExtra2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(31, 31, 31)
                .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_DispositivosElectronicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jB_DE_Cancelar, 0, 0, Short.MAX_VALUE)
                        .addComponent(jB_DE_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 38, Short.MAX_VALUE)
                        .addComponent(jB_DE_AgregarCampo, javax.swing.GroupLayout.Alignment.TRAILING))
                    .addComponent(jB_DE_Nuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(41, 41, 41))
        );

        jP_LicenciaProductos.setBackground(new java.awt.Color(204, 204, 255));

        jB_DE_AgregarCampo.setText("Agregar Campo");
        jB_LP_AgregarCampo.setText("AgregarCampo");
        jB_LP_AgregarCampo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_LP_AgregarCampoActionPerformed(evt);
            }
        });

        jB_LP_Nuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_LP_NuevoActionPerformed(evt);
            }
        });

        jB_LP_Guardar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_LP_GuardarActionPerformed(evt);
            }
        });

        jB_LP_Cancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/cancelar.jpg"))); // NOI18N
        jB_LP_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_LP_CancelarActionPerformed(evt);
            }
        });

        jL_LicenciaProductos.setFont(new java.awt.Font("Tempus Sans ITC", 1, 18));
        jL_LicenciaProductos.setText("Licencia de Productos");

        jL_LP_Titulo.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_Titulo.setText("Titulo");

        jL_LP_Usuario.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_Usuario.setText("Usuario");

        jL_LP_Cotrasena.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_Cotrasena.setText("Contraseña");

        jL_LP_Link.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_Link.setText("Link del Proveedor");

        jL_LP_NoSerie.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_NoSerie.setText("No. de Serie");

        jL_LP_Key.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_Key.setText("Clave del Producto");

        jL_LP_FechaAdquisicion.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_FechaAdquisicion.setText("Fecha de adquisición");

        jL_LP_FechaExpiracion.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_FechaExpiracion.setText("Fecha de expiración");

        jPF_LP_Contrasena.setText("");

        jFTF_LP_FechaAdquisicion.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getDateInstance(java.text.DateFormat.SHORT))));
        jFTF_LP_FechaAdquisicion.setText("dd/mm/aa");

        jFTF_LP_FechaExpiracion.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getDateInstance(java.text.DateFormat.SHORT))));
        jFTF_LP_FechaExpiracion.setText("dd/mm/aa");

        jButton1.setText("Contraseña Sugerida");
        jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jButton1MouseClicked(evt);
            }
        });

        jL_LP_CampoExtra1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_CampoExtra1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jL_LP_CampoExtra1.setText("Campo Extra");
        jL_LP_CampoExtra1.setEnabled(false);

        jL_LP_CampoExtra2.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_LP_CampoExtra2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jL_LP_CampoExtra2.setText("Campo Extra");
        jL_LP_CampoExtra2.setEnabled(false);

        jTF_LP_CampoExtra1.setEnabled(false);

        jTF_LP_CampoExtra2.setEnabled(false);

        javax.swing.GroupLayout jP_LicenciaProductosLayout = new javax.swing.GroupLayout(jP_LicenciaProductos);
        jP_LicenciaProductos.setLayout(jP_LicenciaProductosLayout);
        jP_LicenciaProductosLayout.setHorizontalGroup(
            jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_LicenciaProductosLayout.createSequentialGroup()
                        .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                                .addGap(34, 34, 34)
                                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jL_LP_FechaAdquisicion)
                                    .addComponent(jL_LP_Usuario)
                                    .addComponent(jL_LP_Titulo)
                                    .addComponent(jL_LP_Cotrasena)
                                    .addComponent(jL_LP_NoSerie)
                                    .addComponent(jL_LP_Link)
                                    .addComponent(jL_LP_Key)
                                    .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jL_LP_CampoExtra1, javax.swing.GroupLayout.DEFAULT_SIZE, 146, Short.MAX_VALUE)
                                        .addComponent(jL_LP_FechaExpiracion, javax.swing.GroupLayout.Alignment.TRAILING))))
                            .addComponent(jL_LP_CampoExtra2, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(50, 50, 50)
                        .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTF_LP_CampoExtra1, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE)
                            .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jTF_LP_Usuario)
                                .addComponent(jTF_LP_Titulo, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE)
                                .addComponent(jTF_LP_NoSerie)
                                .addComponent(jTF_LP_Link)
                                .addComponent(jTF_LP_Key)
                                .addComponent(jFTF_LP_FechaAdquisicion, javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(jFTF_LP_FechaExpiracion, javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(jPF_LP_Contrasena))
                            .addComponent(jTF_LP_CampoExtra2, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE)))
                    .addComponent(jL_LicenciaProductos))
                .addGap(29, 29, 29)
                .addComponent(jButton1)
                .addGap(160, 160, 160))
            .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                .addGap(161, 161, 161)
                .addComponent(jB_LP_Nuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jB_LP_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jB_LP_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jB_LP_AgregarCampo)
                .addGap(299, 299, 299))
        );
        jP_LicenciaProductosLayout.setVerticalGroup(
            jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jL_LicenciaProductos)
                .addGap(24, 24, 24)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_LP_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_Titulo))
                .addGap(18, 18, 18)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_LP_Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_Usuario))
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jL_LP_Cotrasena))
                    .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPF_LP_Contrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton1))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_LP_Link, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_Link))
                .addGap(18, 18, 18)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_LP_NoSerie, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_NoSerie))
                .addGap(18, 18, 18)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_LP_Key, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_Key))
                .addGap(18, 18, 18)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jFTF_LP_FechaAdquisicion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_FechaAdquisicion))
                .addGap(18, 18, 18)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jFTF_LP_FechaExpiracion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jL_LP_FechaExpiracion))
                .addGap(18, 18, 18)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jL_LP_CampoExtra1)
                    .addComponent(jTF_LP_CampoExtra1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(17, 17, 17)
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_LP_CampoExtra2)
                    .addComponent(jL_LP_CampoExtra2))
                .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_LicenciaProductosLayout.createSequentialGroup()
                        .addGap(26, 26, 26)
                        .addComponent(jB_LP_AgregarCampo)
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_LicenciaProductosLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 32, Short.MAX_VALUE)
                        .addGroup(jP_LicenciaProductosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jB_LP_Cancelar)
                            .addComponent(jB_LP_Guardar, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                            .addComponent(jB_LP_Nuevo, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(37, 37, 37))))
        );

        jP_AplicacionInternet.setBackground(new java.awt.Color(204, 204, 255));

        jB_AI_Nuevo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/nuevo.gif"))); // NOI18N
        jB_AI_Nuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_AI_NuevoActionPerformed(evt);
            }
        });

        jB_DE_AgregarCampo.setText("Agregar Campo");
        jB_AI_AgregarCampo.setText("+Campo");
        jB_AI_AgregarCampo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_AI_AgregarCampoActionPerformed(evt);
            }
        });

        jB_AI_Guardar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/save.jpg"))); // NOI18N
        jB_AI_Guardar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_AI_GuardarActionPerformed(evt);
            }
        });

        jB_AI_Cancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/cancelar.jpg"))); // NOI18N
        jB_AI_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_AI_CancelarActionPerformed(evt);
            }
        });

        jL_AI_AplicacionesInternet.setFont(new java.awt.Font("Tempus Sans ITC", 1, 18));
        jL_AI_AplicacionesInternet.setText("Aplicaciones de Internet");

        jL_AI_Titulo.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_Titulo.setText("Titulo");

        jL_AI_Link.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_Link.setText("Link");

        jL_AI_Usuario.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_Usuario.setText("Usuario");

        jL_AI_Cotrasena.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_Cotrasena.setText("Contraseña");

        jPF_AI_Contrasena.setText("jPasswordField1");

        jButton3.setText("Contraeña Sugerida");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        jL_AI_CampoExtra1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_CampoExtra1.setText("Campo Extra");
        jL_AI_CampoExtra1.setEnabled(false);

        jL_AI_CampoExtra2.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_AI_CampoExtra2.setText("Campo Extra");
        jL_AI_CampoExtra2.setEnabled(false);

        jTF_AI_CampoExtra1.setEnabled(false);

        jTF_AI_CampoExtra2.setEnabled(false);

        javax.swing.GroupLayout jP_AplicacionInternetLayout = new javax.swing.GroupLayout(jP_AplicacionInternet);
        jP_AplicacionInternet.setLayout(jP_AplicacionInternetLayout);
        jP_AplicacionInternetLayout.setHorizontalGroup(
            jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                                .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                                        .addContainerGap()
                                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jL_AI_CampoExtra1, javax.swing.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE)
                                            .addComponent(jL_AI_CampoExtra2, javax.swing.GroupLayout.DEFAULT_SIZE, 94, Short.MAX_VALUE)))
                                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                                        .addGap(36, 36, 36)
                                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addComponent(jL_AI_Usuario)
                                            .addComponent(jL_AI_Titulo)
                                            .addComponent(jL_AI_Link))))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_AplicacionInternetLayout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(jL_AI_Cotrasena)
                                .addGap(24, 24, 24)))
                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jTF_AI_CampoExtra1, javax.swing.GroupLayout.DEFAULT_SIZE, 149, Short.MAX_VALUE)
                            .addComponent(jTF_AI_CampoExtra2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 149, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jPF_AI_Contrasena)
                                .addComponent(jTF_AI_Usuario)
                                .addComponent(jTF_AI_Link, javax.swing.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE)
                                .addComponent(jTF_AI_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton3))
                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                        .addGap(100, 100, 100)
                        .addComponent(jB_AI_Nuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_AI_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_AI_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jB_AI_AgregarCampo))
                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                        .addGap(78, 78, 78)
                        .addComponent(jL_AI_AplicacionesInternet)))
                .addContainerGap())
        );
        jP_AplicacionInternetLayout.setVerticalGroup(
            jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jL_AI_AplicacionesInternet)
                .addGap(28, 28, 28)
                .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                        .addComponent(jL_AI_Titulo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jL_AI_Link)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jL_AI_Usuario)
                        .addGap(117, 117, 117))
                    .addGroup(jP_AplicacionInternetLayout.createSequentialGroup()
                        .addComponent(jTF_AI_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTF_AI_Link, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(9, 9, 9)
                        .addComponent(jTF_AI_Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jPF_AI_Contrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jL_AI_Cotrasena)
                            .addComponent(jButton3))
                        .addGap(14, 14, 14)
                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTF_AI_CampoExtra1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jL_AI_CampoExtra1))
                        .addGap(18, 18, 18)
                        .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTF_AI_CampoExtra2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jL_AI_CampoExtra2))))
                .addGap(30, 30, 30)
                .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jB_AI_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 37, Short.MAX_VALUE)
                    .addGroup(jP_AplicacionInternetLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(jB_AI_AgregarCampo)
                        .addComponent(jB_AI_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jB_AI_Nuevo, 0, 0, Short.MAX_VALUE))
                .addContainerGap(45, Short.MAX_VALUE))
        );

        jP_Membresias.setBackground(new java.awt.Color(255, 204, 204));

        jB_M_Nuevo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/nuevo.gif"))); // NOI18N
        jB_M_Nuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_M_NuevoActionPerformed(evt);
            }
        });

        jB_DE_AgregarCampo.setText("Agregar Campo");
        jB_M_AgregarCampo.setText("AgregarCampo");
        jB_M_AgregarCampo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_M_AgregarCampoActionPerformed(evt);
            }
        });

        jB_M_Guardar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/save.jpg"))); // NOI18N
        jB_M_Guardar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_M_GuardarActionPerformed(evt);
            }
        });

        jB_M_Cancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/InterfazGrafica/cancelar.jpg"))); // NOI18N
        jB_M_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_M_CancelarActionPerformed(evt);
            }
        });

        jL_Membresia.setFont(new java.awt.Font("Tempus Sans ITC", 1, 18));
        jL_Membresia.setText("Membresias");

        jL_M_Titulo.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_Titulo.setText("Titulo del Servico");

        jL_M_Usuario.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_Usuario.setText("Usuario");

        jL_M_Cotrasena.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_Cotrasena.setText("Contraseña");

        jL_M_FechaAdquisicion.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_FechaAdquisicion.setText("Fecha de adquisición");

        jL_M_FechaExpiracion.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_FechaExpiracion.setText("Fecha de expiración");

        jPF_M_Contrasena.setText("");

        jFTF_M_FechaAdquisicion.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getDateInstance(java.text.DateFormat.SHORT))));
        jFTF_M_FechaAdquisicion.setText("dd/mm/aa");

        jFTF_M_FechaExpiracion.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.DateFormatter(java.text.DateFormat.getDateInstance(java.text.DateFormat.SHORT))));
        jFTF_M_FechaExpiracion.setText("dd/mm/aa");

        jButton2.setText("Contraseña Sugerida");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jL_M_CampoExtra1.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_CampoExtra1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jL_M_CampoExtra1.setText("Campos Extra");
        jL_M_CampoExtra1.setEnabled(false);

        jL_M_CampoExtra2.setFont(new java.awt.Font("Tempus Sans ITC", 0, 14));
        jL_M_CampoExtra2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jL_M_CampoExtra2.setText("Campos Extra");
        jL_M_CampoExtra2.setEnabled(false);

        jTF_M_CampoExtra1.setEnabled(false);

        jTF_M_CampoExtra2.setEnabled(false);

        javax.swing.GroupLayout jP_MembresiasLayout = new javax.swing.GroupLayout(jP_Membresias);
        jP_Membresias.setLayout(jP_MembresiasLayout);
        jP_MembresiasLayout.setHorizontalGroup(
            jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_MembresiasLayout.createSequentialGroup()
                .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_MembresiasLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jL_M_FechaAdquisicion)
                            .addComponent(jL_M_Usuario)
                            .addComponent(jL_M_Titulo)
                            .addComponent(jL_M_Cotrasena)
                            .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jL_M_CampoExtra2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jL_M_CampoExtra1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jL_M_FechaExpiracion, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .addGap(18, 18, 18)
                        .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_MembresiasLayout.createSequentialGroup()
                                .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(jPF_M_Contrasena, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jFTF_M_FechaExpiracion, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jFTF_M_FechaAdquisicion, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTF_M_Usuario, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTF_M_Titulo, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE)
                                    .addComponent(jTF_M_CampoExtra1, javax.swing.GroupLayout.Alignment.LEADING))
                                .addGap(10, 10, 10)
                                .addComponent(jButton2))
                            .addComponent(jTF_M_CampoExtra2, javax.swing.GroupLayout.PREFERRED_SIZE, 171, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jP_MembresiasLayout.createSequentialGroup()
                        .addGap(188, 188, 188)
                        .addComponent(jL_Membresia))
                    .addGroup(jP_MembresiasLayout.createSequentialGroup()
                        .addGap(136, 136, 136)
                        .addComponent(jB_M_Nuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_M_Guardar, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jB_M_Cancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jB_M_AgregarCampo)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jP_MembresiasLayout.setVerticalGroup(
            jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_MembresiasLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jL_Membresia)
                .addGap(26, 26, 26)
                .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_MembresiasLayout.createSequentialGroup()
                        .addComponent(jTF_M_Titulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jTF_M_Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jPF_M_Contrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton2))
                        .addGap(18, 18, 18)
                        .addComponent(jFTF_M_FechaAdquisicion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jFTF_M_FechaExpiracion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTF_M_CampoExtra1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jL_M_CampoExtra1)))
                    .addGroup(jP_MembresiasLayout.createSequentialGroup()
                        .addComponent(jL_M_Titulo)
                        .addGap(18, 18, 18)
                        .addComponent(jL_M_Usuario)
                        .addGap(18, 18, 18)
                        .addComponent(jL_M_Cotrasena)
                        .addGap(18, 18, 18)
                        .addComponent(jL_M_FechaAdquisicion)
                        .addGap(18, 18, 18)
                        .addComponent(jL_M_FechaExpiracion)
                        .addGap(55, 55, 55)
                        .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTF_M_CampoExtra2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jL_M_CampoExtra2))))
                .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_MembresiasLayout.createSequentialGroup()
                        .addGap(46, 46, 46)
                        .addComponent(jB_M_AgregarCampo)
                        .addContainerGap())
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jP_MembresiasLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 46, Short.MAX_VALUE)
                        .addGroup(jP_MembresiasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jB_M_Cancelar, javax.swing.GroupLayout.Alignment.TRAILING, 0, 0, Short.MAX_VALUE)
                            .addComponent(jB_M_Guardar, javax.swing.GroupLayout.Alignment.TRAILING, 0, 0, Short.MAX_VALUE)
                            .addComponent(jB_M_Nuevo, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 35, Short.MAX_VALUE))
                        .addGap(50, 50, 50))))
        );

        jFTF_M_FechaAdquisicion.getAccessibleContext().setAccessibleName("");

        jP_SignIn.setBackground(new java.awt.Color(204, 204, 255));

        jTF_SI_Usuario.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTF_SI_UsuarioActionPerformed(evt);
            }
        });

        jLabel1.setText("Usuario:");

        jLabel2.setText("Contrasena:");

        jLabel3.setText("Sign In");

        jB_SI_Nuevo.setText("Nuevo");
        jB_SI_Nuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_SI_NuevoActionPerformed(evt);
            }
        });

        jB_SI_Cancelar.setText("Cancelar");
        jB_SI_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_SI_CancelarActionPerformed(evt);
            }
        });

        jPF_SI_Contrasena.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jPF_SI_ContrasenaActionPerformed(evt);
            }
        });

        jB_SI_Entrar.setText("Entrar");
        jB_SI_Entrar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_SI_EntrarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jP_SignInLayout = new javax.swing.GroupLayout(jP_SignIn);
        jP_SignIn.setLayout(jP_SignInLayout);
        jP_SignInLayout.setHorizontalGroup(
            jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_SignInLayout.createSequentialGroup()
                .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_SignInLayout.createSequentialGroup()
                        .addGap(155, 155, 155)
                        .addComponent(jLabel3))
                    .addGroup(jP_SignInLayout.createSequentialGroup()
                        .addGap(56, 56, 56)
                        .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jP_SignInLayout.createSequentialGroup()
                                .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel2)
                                    .addComponent(jLabel1))
                                .addGap(44, 44, 44))
                            .addGroup(jP_SignInLayout.createSequentialGroup()
                                .addComponent(jB_SI_Nuevo)
                                .addGap(18, 18, 18)))
                        .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jP_SignInLayout.createSequentialGroup()
                                .addComponent(jB_SI_Entrar)
                                .addGap(33, 33, 33)
                                .addComponent(jB_SI_Cancelar))
                            .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jPF_SI_Contrasena, javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jTF_SI_Usuario, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 93, Short.MAX_VALUE)))))
                .addContainerGap(23, Short.MAX_VALUE))
        );
        jP_SignInLayout.setVerticalGroup(
            jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_SignInLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel3)
                .addGap(32, 32, 32)
                .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTF_SI_Usuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(jPF_SI_Contrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(24, 24, 24)
                .addGroup(jP_SignInLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jB_SI_Nuevo)
                    .addComponent(jB_SI_Cancelar)
                    .addComponent(jB_SI_Entrar))
                .addContainerGap(26, Short.MAX_VALUE))
        );

        jP_CambiarContrasena.setBackground(new java.awt.Color(204, 204, 255));

        jL_CC_Contrasena2.setText("Nueva Contrasena:");

        jLabel6.setText("Cambio de Contrasena");

        jB_CC_Cancelar.setText("Cancelar");
        jB_CC_Cancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_CC_CancelarActionPerformed(evt);
            }
        });

        jPF_CC_Contrasena2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jPF_CC_Contrasena2ActionPerformed(evt);
            }
        });

        jB_CC_Cambiar.setText("Cambiar");
        jB_CC_Cambiar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_CC_CambiarActionPerformed(evt);
            }
        });

        jPF_CC_Contrasena1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jPF_CC_Contrasena1ActionPerformed(evt);
            }
        });

        jL_CC_Contrasena1.setText("Nueva Contrasena:");

        jPF_CC_ContrasenaActual.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jPF_CC_ContrasenaActualActionPerformed(evt);
            }
        });

        jL_CC_ContrasenaActual.setText("Contrasena Actual:");

        javax.swing.GroupLayout jP_CambiarContrasenaLayout = new javax.swing.GroupLayout(jP_CambiarContrasena);
        jP_CambiarContrasena.setLayout(jP_CambiarContrasenaLayout);
        jP_CambiarContrasenaLayout.setHorizontalGroup(
            jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                .addGroup(jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                        .addGap(155, 155, 155)
                        .addComponent(jLabel6))
                    .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                        .addGap(137, 137, 137)
                        .addComponent(jB_CC_Cambiar)
                        .addGap(33, 33, 33)
                        .addComponent(jB_CC_Cancelar))
                    .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                        .addGap(69, 69, 69)
                        .addGroup(jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                                .addComponent(jL_CC_Contrasena1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jPF_CC_Contrasena1))
                            .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                                .addComponent(jL_CC_Contrasena2)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jPF_CC_Contrasena2))
                            .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                                .addComponent(jL_CC_ContrasenaActual)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jPF_CC_ContrasenaActual, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(89, Short.MAX_VALUE))
        );
        jP_CambiarContrasenaLayout.setVerticalGroup(
            jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jP_CambiarContrasenaLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel6)
                .addGap(44, 44, 44)
                .addGroup(jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jL_CC_ContrasenaActual)
                    .addComponent(jPF_CC_ContrasenaActual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jL_CC_Contrasena1)
                    .addComponent(jPF_CC_Contrasena1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jL_CC_Contrasena2)
                    .addComponent(jPF_CC_Contrasena2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(37, 37, 37)
                .addGroup(jP_CambiarContrasenaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jB_CC_Cancelar)
                    .addComponent(jB_CC_Cambiar))
                .addContainerGap(45, Short.MAX_VALUE))
        );

        jM_Grupos.setText("Agregar");
        jM_Grupos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jM_GruposActionPerformed(evt);
            }
        });

        jMI_G_AplicacionInternet.setText("Aplicaciones de Internet");
        jMI_G_AplicacionInternet.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jMI_G_AplicacionInternetMouseClicked(evt);
            }
        });
        jMI_G_AplicacionInternet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_G_AplicacionInternetActionPerformed(evt);
            }
        });
        jM_Grupos.add(jMI_G_AplicacionInternet);

        jMI_G_DispositivosElectronicos.setText("Dispositivos electrónicos");
        jMI_G_DispositivosElectronicos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_G_DispositivosElectronicosActionPerformed(evt);
            }
        });
        jM_Grupos.add(jMI_G_DispositivosElectronicos);

        jMI_G_LicenciaProductos.setText("Licencias");
        jMI_G_LicenciaProductos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_G_LicenciaProductosActionPerformed(evt);
            }
        });
        jM_Grupos.add(jMI_G_LicenciaProductos);

        jMI_G_Membresias.setText("Membresías");
        jMI_G_Membresias.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_G_MembresiasActionPerformed(evt);
            }
        });
        jM_Grupos.add(jMI_G_Membresias);

        jMenuBar.add(jM_Grupos);

        jM_Ajustes.setText("Ajustes");

        jMI_A_CambiarContrasena.setText("Cambiar Contraseña");
        jMI_A_CambiarContrasena.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_A_CambiarContrasenaActionPerformed(evt);
            }
        });
        jM_Ajustes.add(jMI_A_CambiarContrasena);

        jMI_A_BorraroTodo.setText("Borrar Todo");
        jMI_A_BorraroTodo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_A_BorraroTodoActionPerformed(evt);
            }
        });
        jM_Ajustes.add(jMI_A_BorraroTodo);

        jMenuBar.add(jM_Ajustes);

        jM_Consultas.setText("Consulta");

        jM_C_Tablas.setText("Ver Tablas");
        jM_C_Tablas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jM_C_TablasActionPerformed(evt);
            }
        });

        jMI_C_T_AplicacionInternet.setText("Aplicaciónes de Internet");
        jMI_C_T_AplicacionInternet.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jMI_C_T_AplicacionInternetMouseClicked(evt);
            }
        });
        jMI_C_T_AplicacionInternet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_C_T_AplicacionInternetActionPerformed(evt);
            }
        });
        jM_C_Tablas.add(jMI_C_T_AplicacionInternet);

        jMI_C_T_DispositivosElectronicos.setText("Dispositivos electrónico");
        jMI_C_T_DispositivosElectronicos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_C_T_DispositivosElectronicosActionPerformed(evt);
            }
        });
        jM_C_Tablas.add(jMI_C_T_DispositivosElectronicos);

        jMI_C_T_LicenciaProductos.setText("Licencias");
        jMI_C_T_LicenciaProductos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_C_T_LicenciaProductosActionPerformed(evt);
            }
        });
        jM_C_Tablas.add(jMI_C_T_LicenciaProductos);

        jMI_C_T_Membresias.setText("Membresías");
        jMI_C_T_Membresias.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMI_C_T_MembresiasActionPerformed(evt);
            }
        });
        jM_C_Tablas.add(jMI_C_T_Membresias);

        jM_Consultas.add(jM_C_Tablas);

        jMenuBar.add(jM_Consultas);

        setJMenuBar(jMenuBar);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jP_Estado, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 199, Short.MAX_VALUE)
                    .addComponent(jP_BusquedaTablas, javax.swing.GroupLayout.PREFERRED_SIZE, 500, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 200, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 118, Short.MAX_VALUE)
                    .addComponent(jP_RegistroUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 119, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 189, Short.MAX_VALUE)
                    .addComponent(jP_DispositivosElectronicos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 190, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 76, Short.MAX_VALUE)
                    .addComponent(jP_LicenciaProductos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 76, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 229, Short.MAX_VALUE)
                    .addComponent(jP_AplicacionInternet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 229, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 186, Short.MAX_VALUE)
                    .addComponent(jP_Membresias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 187, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 264, Short.MAX_VALUE)
                    .addComponent(jP_SignIn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 264, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 248, Short.MAX_VALUE)
                    .addComponent(jP_CambiarContrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 249, Short.MAX_VALUE)))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(538, Short.MAX_VALUE)
                .addComponent(jP_Estado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 42, Short.MAX_VALUE)
                    .addComponent(jP_BusquedaTablas, javax.swing.GroupLayout.PREFERRED_SIZE, 508, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 42, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 94, Short.MAX_VALUE)
                    .addComponent(jP_RegistroUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 403, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 95, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 110, Short.MAX_VALUE)
                    .addComponent(jP_DispositivosElectronicos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 110, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 1, Short.MAX_VALUE)
                    .addComponent(jP_LicenciaProductos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 2, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 91, Short.MAX_VALUE)
                    .addComponent(jP_AplicacionInternet, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 92, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 73, Short.MAX_VALUE)
                    .addComponent(jP_Membresias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 74, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 193, Short.MAX_VALUE)
                    .addComponent(jP_SignIn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 193, Short.MAX_VALUE)))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 154, Short.MAX_VALUE)
                    .addComponent(jP_CambiarContrasena, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 155, Short.MAX_VALUE)))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * Metodo que vacia el Frame
     */
    public void removeAllMainPanels() {
        inhabilitarIngresoDatos();
        remove(jP_Membresias);
        remove(jP_AplicacionInternet);
        remove(jP_DispositivosElectronicos);
        remove(jP_LicenciaProductos);
        remove(jP_Busqueda);
        remove(jP_BusquedaTablas);
        remove(jP_RegistroUsuario);
        remove(jP_SignIn);
        remove(jP_CambiarContrasena);
    }

    
private void jMI_G_AplicacionInternetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_G_AplicacionInternetActionPerformed
    if(!UsoCarteraVirtual.hayUsuario()){
            removeAllMainPanels();
            add(jP_RegistroUsuario);
        }
    else {
        if(inicioSecion == true) {
            removeAllMainPanels();
            add(jP_AplicacionInternet);        
        }
        else{
            add(jP_SignIn);
        }
    }
    repaint();
}//GEN-LAST:event_jMI_G_AplicacionInternetActionPerformed

private void jMI_G_AplicacionInternetMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jMI_G_AplicacionInternetMouseClicked

}//GEN-LAST:event_jMI_G_AplicacionInternetMouseClicked

    private void jB_DE_NuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_DE_NuevoActionPerformed
        habilitarIngresoDatos();
        repaint();
    }//GEN-LAST:event_jB_DE_NuevoActionPerformed

        private void jB_M_NuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_M_NuevoActionPerformed
        habilitarIngresoDatos();
        repaint();
    }//GEN-LAST:event_jB_M_NuevoActionPerformed

    private void jB_AI_NuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_AI_NuevoActionPerformed
        habilitarIngresoDatos();
        repaint();
    }//GEN-LAST:event_jB_AI_NuevoActionPerformed

    private void jB_LP_NuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_LP_NuevoActionPerformed
        habilitarIngresoDatos();
        repaint();
    }//GEN-LAST:event_jB_LP_NuevoActionPerformed


    private void jM_GruposActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jM_GruposActionPerformed
    }//GEN-LAST:event_jM_GruposActionPerformed

    private void jMI_G_DispositivosElectronicosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_G_DispositivosElectronicosActionPerformed
        removeAllMainPanels();
        if(!UsoCarteraVirtual.hayUsuario()){
            add(jP_RegistroUsuario);
        }
        else {
            if(inicioSecion) {
                removeAllMainPanels();
                add(jP_DispositivosElectronicos);
            }
            else {
                add(jP_SignIn);
            }
        }
        repaint();
    }//GEN-LAST:event_jMI_G_DispositivosElectronicosActionPerformed

    private void jMI_G_LicenciaProductosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_G_LicenciaProductosActionPerformed
        removeAllMainPanels();
        if(!UsoCarteraVirtual.hayUsuario()){
            add(jP_RegistroUsuario);
        }
        else {
            if(inicioSecion) {
                removeAllMainPanels();
                add(jP_LicenciaProductos);
            }
            else{
                add(jP_SignIn);
            }
        }
        repaint();
    }//GEN-LAST:event_jMI_G_LicenciaProductosActionPerformed

    private void jMI_G_MembresiasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_G_MembresiasActionPerformed
        removeAllMainPanels();
        if(!UsoCarteraVirtual.hayUsuario()){
            add(jP_RegistroUsuario);
        }
        else {
            if(inicioSecion) {
                removeAllMainPanels();
                add(jP_Membresias);
            }
            else {
                add(jP_SignIn);
            }
        }
        repaint();
    }//GEN-LAST:event_jMI_G_MembresiasActionPerformed

    private void jB_DE_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_DE_CancelarActionPerformed
        inhabilitarIngresoDatos();
        repaint();
        jTF_DE_CampoExtra1.setText("");
        jTF_DE_CampoExtra2.setText("");
        jL_DE_CampoExtra1.setText("Campo Extra");
        jL_DE_CampoExtra2.setText("Campo Extra");
        contadorCamposDispositivos=0;
    }//GEN-LAST:event_jB_DE_CancelarActionPerformed

    private void jB_DE_GuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_DE_GuardarActionPerformed
        tFields.add(jTF_DE_Titulo.getText());
        tFields.add(jTF_DE_Usuario.getText());
        tFields.add(jPF_DE_Contrasena.getText());
        tFields.add((jL_DE_CampoExtra1.getText() +": " + jTF_DE_CampoExtra1.getText()));
        tFields.add((jL_DE_CampoExtra2.getText() +": " + jTF_DE_CampoExtra2.getText()));
        UsoCarteraVirtual.agregarDispositivoElectronico(tFields);
        vaciarArrayTextFields();
        inhabilitarIngresoDatos();
        jTF_DE_CampoExtra1.setText("");
        jTF_DE_CampoExtra2.setText("");
        jL_DE_CampoExtra1.setText("Campo Extra");
        jL_DE_CampoExtra2.setText("Campo Extra");
        contadorCamposDispositivos=0;
 
        repaint();
    }//GEN-LAST:event_jB_DE_GuardarActionPerformed

    private void jB_M_GuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_M_GuardarActionPerformed
        tFields.add(jTF_M_Titulo.getText());
        tFields.add(jTF_M_Usuario.getText());
        tFields.add(jPF_M_Contrasena.getText());
        tFields.add(jFTF_M_FechaAdquisicion.getText());
        tFields.add(jFTF_M_FechaExpiracion.getText());
        tFields.add((jL_M_CampoExtra1.getText() +": " + jTF_M_CampoExtra1.getText()));
        tFields.add((jL_M_CampoExtra2.getText() +": " + jTF_M_CampoExtra2.getText()));
        UsoCarteraVirtual.agregarMembresia(tFields);
        vaciarArrayTextFields();
        inhabilitarIngresoDatos();
        contadorCamposMembresias=0;
        jTF_M_CampoExtra1.setText("");
        jTF_M_CampoExtra2.setText("");
        jL_M_CampoExtra1.setText("Campo Extra");
        jL_M_CampoExtra2.setText("Campo Extra");
        repaint();
    }//GEN-LAST:event_jB_M_GuardarActionPerformed

    private void jB_M_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_M_CancelarActionPerformed
        inhabilitarIngresoDatos();
        repaint();
        contadorCamposMembresias=0;
        jTF_M_CampoExtra1.setText("");
        jTF_M_CampoExtra2.setText("");
        jL_M_CampoExtra1.setText("Campo Extra");
        jL_M_CampoExtra2.setText("Campo Extra");
        
    }//GEN-LAST:event_jB_M_CancelarActionPerformed
 int contadorCampos=0;
    private void jB_LP_AgregarCampoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_LP_AgregarCampoActionPerformed
    String nombreCampo;
    nombreCampo= JOptionPane.showInputDialog(null, "Ingrese el nombre del campo", "Agregar Campo", 2);
   
    if (contadorCampos==0){
        jL_LP_CampoExtra1.setVisible(true);
    jL_LP_CampoExtra1.setEnabled(true);
    jL_LP_CampoExtra1.setText(nombreCampo);
    jTF_LP_CampoExtra1.setVisible(true);
    jTF_LP_CampoExtra1.setEnabled(true);
        contadorCampos=+1;
    }
    else if(contadorCampos==1){
        jL_LP_CampoExtra2.setVisible(true);
    jL_LP_CampoExtra2.setEnabled(true);
    jL_LP_CampoExtra2.setText(nombreCampo);
    jTF_LP_CampoExtra2.setVisible(true);
    jTF_LP_CampoExtra2.setEnabled(true);
        
    }
    
    }//GEN-LAST:event_jB_LP_AgregarCampoActionPerformed

    private void jB_LP_GuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_LP_GuardarActionPerformed
        tFields.add(jTF_LP_Titulo.getText());
        tFields.add(jTF_LP_Usuario.getText());
        tFields.add(jPF_LP_Contrasena.getText());
        tFields.add(jTF_LP_Link.getText());
        tFields.add(jTF_LP_NoSerie.getText());
        tFields.add(jTF_LP_Key.getText());
        tFields.add(jFTF_LP_FechaAdquisicion.getText());
        tFields.add(jFTF_LP_FechaExpiracion.getText());
        tFields.add((jL_LP_CampoExtra1.getText() +": " + jTF_LP_CampoExtra1.getText()));
        tFields.add((jL_LP_CampoExtra2.getText() +": " + jTF_LP_CampoExtra2.getText()));
        UsoCarteraVirtual.agregarLicenciaProductos(tFields);
        vaciarArrayTextFields();
        inhabilitarIngresoDatos();
        jTF_LP_CampoExtra1.setText("");
        jTF_LP_CampoExtra2.setText("");
        jL_LP_CampoExtra1.setText("Campo Extra");
        jL_LP_CampoExtra2.setText("Campo Extra");
        contadorCampos=0;
        repaint();
    }//GEN-LAST:event_jB_LP_GuardarActionPerformed

    private void jB_LP_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_LP_CancelarActionPerformed
        inhabilitarIngresoDatos();
        repaint();
        jTF_LP_CampoExtra1.setText("");
        jTF_LP_CampoExtra2.setText("");
        jL_LP_CampoExtra1.setText("Campo Extra");
        jL_LP_CampoExtra2.setText("Campo Extra");
        contadorCampos=0;
        
    }//GEN-LAST:event_jB_LP_CancelarActionPerformed

    private void jB_AI_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_AI_CancelarActionPerformed
        inhabilitarIngresoDatos();
        repaint();
        contadorCamposInternet=0;
        jTF_AI_CampoExtra1.setText("");
        jTF_AI_CampoExtra2.setText("");
        jL_AI_CampoExtra1.setText("Campo Extra");
        jL_AI_CampoExtra2.setText("Campo Extra");
        
    }//GEN-LAST:event_jB_AI_CancelarActionPerformed

    private void jB_AI_GuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_AI_GuardarActionPerformed
        tFields.add(jTF_AI_Titulo.getText());
        tFields.add(jTF_AI_Link.getText());
        tFields.add(jTF_AI_Usuario.getText());
        tFields.add(jPF_AI_Contrasena.getText());
        tFields.add((jL_AI_CampoExtra1.getText() +": " + jTF_AI_CampoExtra1.getText()));
        tFields.add((jL_AI_CampoExtra2.getText() +": " + jTF_AI_CampoExtra2.getText()));
        UsoCarteraVirtual.agregarAplicacionesInternet(tFields);
        vaciarArrayTextFields();
        inhabilitarIngresoDatos();
        contadorCamposInternet=0;
        jTF_AI_CampoExtra1.setText("");
        jTF_AI_CampoExtra2.setText("");
        jL_AI_CampoExtra1.setText("Campo Extra");
        jL_AI_CampoExtra2.setText("Campo Extra");
        repaint();

    }//GEN-LAST:event_jB_AI_GuardarActionPerformed

  int contadorCamposInternet;
    private void jB_AI_AgregarCampoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_AI_AgregarCampoActionPerformed
   String nombreCampo;
   nombreCampo= JOptionPane.showInputDialog(null, "Ingrese el nombre del campo", "Agregar Campo", 2);
   
    if (contadorCamposInternet==0){
        jL_AI_CampoExtra1.setVisible(true);
    jL_AI_CampoExtra1.setEnabled(true);
    jL_AI_CampoExtra1.setText(nombreCampo);
    jTF_AI_CampoExtra1.setVisible(true);
    jTF_AI_CampoExtra1.setEnabled(true);
        contadorCamposInternet=+1;
    }
    else if(contadorCamposInternet==1){
        jL_AI_CampoExtra2.setVisible(true);
    jL_AI_CampoExtra2.setEnabled(true);
    jL_AI_CampoExtra2.setText(nombreCampo);
    jTF_AI_CampoExtra2.setVisible(true);
    jTF_AI_CampoExtra2.setEnabled(true);
        
    }
    
    }//GEN-LAST:event_jB_AI_AgregarCampoActionPerformed

    private void jMI_C_T_AplicacionInternetMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jMI_C_T_AplicacionInternetMouseClicked
        
    }//GEN-LAST:event_jMI_C_T_AplicacionInternetMouseClicked

    private void jMI_C_T_AplicacionInternetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_C_T_AplicacionInternetActionPerformed
        removeAllMainPanels();
        if(inicioSecion){    
            add(jP_BusquedaTablas);
            jL_BT_NombreGrupo.setText("Aplicaciones de Internet");
            UsoCarteraVirtual.cargarTablaAplicacionesInternet("");
        }
        else {
           add(jP_SignIn); 
        }
        repaint();
    }//GEN-LAST:event_jMI_C_T_AplicacionInternetActionPerformed

    private void jMI_C_T_DispositivosElectronicosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_C_T_DispositivosElectronicosActionPerformed
        removeAllMainPanels();
        if(inicioSecion){
            add(jP_BusquedaTablas);
            jL_BT_NombreGrupo.setText("Dispositivos Electronicos");
            UsoCarteraVirtual.cargarTablaDispositivosElectronicos("");
        }
        else {
            add(jP_SignIn);
        }
        repaint();
    }//GEN-LAST:event_jMI_C_T_DispositivosElectronicosActionPerformed

    private void jMI_C_T_LicenciaProductosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_C_T_LicenciaProductosActionPerformed
        removeAllMainPanels();
        if(inicioSecion) {
            add(jP_BusquedaTablas);
            jL_BT_NombreGrupo.setText("Licencias de Productos");
            UsoCarteraVirtual.cargarTablaLicenciasProductos("");
        }
        else {
            add(jP_SignIn);
        }
        repaint();
    }//GEN-LAST:event_jMI_C_T_LicenciaProductosActionPerformed

    private void jMI_C_T_MembresiasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_C_T_MembresiasActionPerformed
        removeAllMainPanels();
        if(inicioSecion){
            add(jP_BusquedaTablas);
            jL_BT_NombreGrupo.setText("Membresias");
            UsoCarteraVirtual.cargarTablaMembresias("");
        }
        else {
            add(jP_SignIn);
        }
        repaint();
    }//GEN-LAST:event_jMI_C_T_MembresiasActionPerformed

    private void jM_C_TablasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jM_C_TablasActionPerformed
        if(!inicioSecion){
            add(jP_SignIn);
        }
    }//GEN-LAST:event_jM_C_TablasActionPerformed

    private void jMI_A_CambiarContrasenaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_A_CambiarContrasenaActionPerformed
        removeAllMainPanels();
        if(inicioSecion){
            add(jP_CambiarContrasena);
        }
        else {
            add(jP_SignIn);
        }
        repaint();
    }//GEN-LAST:event_jMI_A_CambiarContrasenaActionPerformed

private void jB_BT_BuscarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_BT_BuscarActionPerformed
    String tableX = jL_BT_NombreGrupo.getText();    
    String txtBuscar = jTF_BT_Busqueda.getText();
    if(tableX.compareTo("Dispositivos Electronicos") == 0){
        UsoCarteraVirtual.cargarTablaDispositivosElectronicos(txtBuscar);  
        repaint();
    }
    if(tableX.compareTo("Aplicaciones de Internet") == 0){
        UsoCarteraVirtual.cargarTablaAplicacionesInternet(txtBuscar);
        repaint();
    }
    if(tableX.compareTo("Licencias de Productos") == 0){
        UsoCarteraVirtual.cargarTablaLicenciasProductos(txtBuscar);
        repaint();
    }
    if(tableX.compareTo("Membresias") == 0){
        UsoCarteraVirtual.cargarTablaMembresias(txtBuscar);
        repaint();
    }

}//GEN-LAST:event_jB_BT_BuscarActionPerformed

private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton1MouseClicked
// TODO add your handling code here:
    String contrasenaTemporal=UsoCarteraVirtual.generarContrasena();
       int op;
       op=JOptionPane.showConfirmDialog(null, contrasenaTemporal, "Contrasena Sugerida", 2, 2);
       if (op==0){
       jPF_LP_Contrasena.setText(contrasenaTemporal);
}
       
       
       
}//GEN-LAST:event_jButton1MouseClicked
int contadorCamposDispositivos;
private void jB_DE_AgregarCampoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_DE_AgregarCampoActionPerformed
// TODO add your handling code here:
    String nombreCampo;
    nombreCampo= JOptionPane.showInputDialog(null, "Ingrese el nombre del campo", "Agregar Campo", 2);
   
    if (contadorCamposDispositivos==0){
        jL_DE_CampoExtra1.setVisible(true);
    jL_DE_CampoExtra1.setEnabled(true);
    jL_DE_CampoExtra1.setText(nombreCampo);
    jTF_DE_CampoExtra1.setVisible(true);
    jTF_DE_CampoExtra1.setEnabled(true);
        contadorCamposDispositivos=+1;
    }
    else if(contadorCamposDispositivos==1){
        jL_DE_CampoExtra2.setVisible(true);
    jL_DE_CampoExtra2.setEnabled(true);
    jL_DE_CampoExtra2.setText(nombreCampo);
    jTF_DE_CampoExtra2.setVisible(true);
    jTF_DE_CampoExtra2.setEnabled(true);
        
    }
}//GEN-LAST:event_jB_DE_AgregarCampoActionPerformed

int contadorCamposMembresias;
private void jB_M_AgregarCampoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_M_AgregarCampoActionPerformed
// TODO add your handling code here:
    String nombreCampo;
    nombreCampo= JOptionPane.showInputDialog(null, "Ingrese el nombre del campo", "Agregar Campo", 2);
   
    if (contadorCamposMembresias==0){
        jL_M_CampoExtra1.setVisible(true);
    jL_M_CampoExtra1.setEnabled(true);
    jL_M_CampoExtra1.setText(nombreCampo);
    jTF_M_CampoExtra1.setVisible(true);
    jTF_M_CampoExtra1.setEnabled(true);
        contadorCamposMembresias=+1;
    }
    else if(contadorCamposMembresias==1){
        jL_M_CampoExtra2.setVisible(true);
    jL_M_CampoExtra2.setEnabled(true);
    jL_M_CampoExtra2.setText(nombreCampo);
    jTF_M_CampoExtra2.setVisible(true);
    jTF_M_CampoExtra2.setEnabled(true);
        
    }
    
    
}//GEN-LAST:event_jB_M_AgregarCampoActionPerformed

private void jTF_DE_CampoExtra1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTF_DE_CampoExtra1ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTF_DE_CampoExtra1ActionPerformed

    private void jB_RU_NuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_RU_NuevoActionPerformed
        habilitarIngresoDatos();
        repaint();
    }//GEN-LAST:event_jB_RU_NuevoActionPerformed

    private void jB_RU_GuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_RU_GuardarActionPerformed
        tFields.add(jTF_RU_Nombre1.getText());
        tFields.add(jTF_RU_Nombre2.getText());
        tFields.add(jTF_RU_Apellido1.getText());
        tFields.add(jTF_RU_Apellido2.getText());
        tFields.add((jTF_RU_Usuario.getText()));
        tFields.add((jPF_RU_Contrasena.getText()));
        if(!(jPF_RU_Contrasena1.getText().compareTo(jPF_RU_Contrasena.getText()) == 0)) {
            JOptionPane.showMessageDialog(null,"Las contraseñas no coinciden, vuelva a intentar.");
        }
        if(jPF_RU_Contrasena1.getText().compareTo(jPF_RU_Contrasena.getText()) == 0) {
            UsoCarteraVirtual.agregarUsuario(tFields);
            vaciarArrayTextFields();
            inhabilitarIngresoDatos();
        }
        repaint();
    }//GEN-LAST:event_jB_RU_GuardarActionPerformed

    private void jB_RU_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_RU_CancelarActionPerformed
        inhabilitarIngresoDatos();
        repaint();
    }//GEN-LAST:event_jB_RU_CancelarActionPerformed

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
// TODO add your handling code here:
    
 String contrasenaTemporal=UsoCarteraVirtual.generarContrasena();
       int op;
       op=JOptionPane.showConfirmDialog(null, contrasenaTemporal, "Contrasena Sugerida", 2, 2);
       if (op==0){
       jPF_M_Contrasena.setText(contrasenaTemporal);   
    
    
       }
}//GEN-LAST:event_jButton2ActionPerformed

private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
// TODO add your handling code here:
    String contrasenaTemporal=UsoCarteraVirtual.generarContrasena();
       int op;
       op=JOptionPane.showConfirmDialog(null, contrasenaTemporal, "Contrasena Sugerida", 2, 2);
       if (op==0){
       jPF_AI_Contrasena.setText(contrasenaTemporal);   
    

       }
}//GEN-LAST:event_jButton3ActionPerformed

private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
// TODO add your handling code here:
    
    String contrasenaTemporal=UsoCarteraVirtual.generarContrasena();
       int op;
       op=JOptionPane.showConfirmDialog(null, contrasenaTemporal, "Contrasena Sugerida", 2, 2);
       if (op==0){
       jPF_DE_Contrasena.setText(contrasenaTemporal);   
    
    
       }
}//GEN-LAST:event_jButton4ActionPerformed

    private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed

        String contrasenaTemporal = UsoCarteraVirtual.generarContrasena();         int op;         op = JOptionPane.showConfirmDialog(null, contrasenaTemporal, "Contrasena Sugerida", 2, 2);         System.out.println(op);         if (op == 0) {             System.out.println(op);             jPF_RU_Contrasena.setText(contrasenaTemporal);         }     }//GEN-LAST:event_jButton5ActionPerformed

    private void jTF_SI_UsuarioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTF_SI_UsuarioActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTF_SI_UsuarioActionPerformed

    private void jB_SI_NuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_SI_NuevoActionPerformed
        removeAllMainPanels();
        add(jP_RegistroUsuario);
        vaciarTextFields();
        repaint();
    }//GEN-LAST:event_jB_SI_NuevoActionPerformed

    private void jB_SI_EntrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_SI_EntrarActionPerformed
        String UsuarioX = jTF_SI_Usuario.getText();
        String passwordX = jPF_SI_Contrasena.getText();
        if(UsoCarteraVirtual.verificarUsuario(UsuarioX, passwordX)){
            inicioSecion = true;
            JOptionPane.showMessageDialog(null, "Inicio de seción Exitoso");
            removeAllMainPanels();
            vaciarTextFields();
            usuarioC = UsuarioX;
        }
        else {
            JOptionPane.showMessageDialog(null, "Falló el Ingreso de seción\n Intente de nuevo");
        }
        repaint();
    }//GEN-LAST:event_jB_SI_EntrarActionPerformed

    private void jPF_SI_ContrasenaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPF_SI_ContrasenaActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jPF_SI_ContrasenaActionPerformed

    private void jPF_CC_Contrasena2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPF_CC_Contrasena2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jPF_CC_Contrasena2ActionPerformed
    String usuarioC = "";
    private void jB_CC_CambiarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_CC_CambiarActionPerformed
         String ContrasenaActualX = jPF_CC_ContrasenaActual.getText();
         String Contrasena1 = jPF_CC_Contrasena1.getText();
         String Contrasena2 = jPF_CC_Contrasena2.getText();
         tFields.add(Contrasena1);
         if(Contrasena1.compareTo(Contrasena2) == 0 && UsoCarteraVirtual.verificarUsuario(usuarioC, ContrasenaActualX)){
             JOptionPane.showMessageDialog(null, "Cambio de contraseña exitosa");
             UsoCarteraVirtual.cambioDeContrasena(usuarioC, tFields);
             vaciarTextFields();
         }
         else {
             if(!UsoCarteraVirtual.verificarUsuario(usuarioC, ContrasenaActualX)){
                 JOptionPane.showMessageDialog(null, "La contraseña actual no es correcta");
             }
             else {
                JOptionPane.showMessageDialog(null, "Las Contraseñas no coinciden!");
            }
         }
         vaciarArrayTextFields();
         removeAllMainPanels();
    }//GEN-LAST:event_jB_CC_CambiarActionPerformed

    private void jPF_CC_Contrasena1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPF_CC_Contrasena1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jPF_CC_Contrasena1ActionPerformed

    private void jPF_CC_ContrasenaActualActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPF_CC_ContrasenaActualActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jPF_CC_ContrasenaActualActionPerformed

    private void jB_CC_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_CC_CancelarActionPerformed
        vaciarTextFields();
        removeAllMainPanels();
    }//GEN-LAST:event_jB_CC_CancelarActionPerformed

    private void jB_SI_CancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_SI_CancelarActionPerformed
        vaciarTextFields();
        removeAllMainPanels();
    }//GEN-LAST:event_jB_SI_CancelarActionPerformed

    private void jMI_A_BorraroTodoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMI_A_BorraroTodoActionPerformed
        removeAllMainPanels();
        if(inicioSecion){
            String password = JOptionPane.showInputDialog("Igrese la Contraseña de Usuario!");
            if(UsoCarteraVirtual.verificarUsuario(usuarioC, password)){
                if(JOptionPane.showConfirmDialog(null, "Esta seguro de borrar los datos de la cartera.") == 0){
                    UsoCarteraVirtual.vaciarBaseDatos(); 
                }
                else{
                    removeAllMainPanels();
                }
            }
            else{
                JOptionPane.showMessageDialog(null, "Combinacion de usuario y contraseña incorrecta");
            }
        }
        else {
            add(jP_SignIn);
        }
        repaint();
    }//GEN-LAST:event_jMI_A_BorraroTodoActionPerformed

   
/**
     * @param args the command line arguments
     */

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jB_AI_AgregarCampo;
    private javax.swing.JButton jB_AI_Cancelar;
    private javax.swing.JButton jB_AI_Guardar;
    private javax.swing.JButton jB_AI_Nuevo;
    private javax.swing.JButton jB_BT_Buscar;
    private javax.swing.JButton jB_B_Buscar;
    private javax.swing.JButton jB_CC_Cambiar;
    private javax.swing.JButton jB_CC_Cancelar;
    private javax.swing.JButton jB_DE_AgregarCampo;
    private javax.swing.JButton jB_DE_Cancelar;
    private javax.swing.JButton jB_DE_Guardar;
    private javax.swing.JButton jB_DE_Nuevo;
    private javax.swing.JButton jB_LP_AgregarCampo;
    private javax.swing.JButton jB_LP_Cancelar;
    private javax.swing.JButton jB_LP_Guardar;
    private javax.swing.JButton jB_LP_Nuevo;
    private javax.swing.JButton jB_M_AgregarCampo;
    private javax.swing.JButton jB_M_Cancelar;
    private javax.swing.JButton jB_M_Guardar;
    private javax.swing.JButton jB_M_Nuevo;
    private javax.swing.JButton jB_RU_Cancelar;
    private javax.swing.JButton jB_RU_Guardar;
    private javax.swing.JButton jB_RU_Nuevo;
    private javax.swing.JButton jB_SI_Cancelar;
    private javax.swing.JButton jB_SI_Entrar;
    private javax.swing.JButton jB_SI_Nuevo;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JComboBox jCB_B_Tipo;
    public javax.swing.JFormattedTextField jFTF_LP_FechaAdquisicion;
    public javax.swing.JFormattedTextField jFTF_LP_FechaExpiracion;
    public javax.swing.JFormattedTextField jFTF_M_FechaAdquisicion;
    public javax.swing.JFormattedTextField jFTF_M_FechaExpiracion;
    private javax.swing.JLabel jL_AI_AplicacionesInternet;
    private javax.swing.JLabel jL_AI_CampoExtra1;
    private javax.swing.JLabel jL_AI_CampoExtra2;
    private javax.swing.JLabel jL_AI_Cotrasena;
    private javax.swing.JLabel jL_AI_Link;
    private javax.swing.JLabel jL_AI_Link1;
    private javax.swing.JLabel jL_AI_Titulo;
    private javax.swing.JLabel jL_AI_Usuario;
    private javax.swing.JLabel jL_BT_NombreGrupo;
    private javax.swing.JLabel jL_CC_Contrasena1;
    private javax.swing.JLabel jL_CC_Contrasena2;
    private javax.swing.JLabel jL_CC_ContrasenaActual;
    private javax.swing.JLabel jL_DE_CampoExtra1;
    private javax.swing.JLabel jL_DE_CampoExtra2;
    private javax.swing.JLabel jL_DE_Cotrasena;
    private javax.swing.JLabel jL_DE_DispositivosElectronicos;
    private javax.swing.JLabel jL_DE_Titulo;
    private javax.swing.JLabel jL_DE_Usuario;
    private javax.swing.JLabel jL_EstadoChaning;
    private javax.swing.JLabel jL_LP_CampoExtra1;
    private javax.swing.JLabel jL_LP_CampoExtra2;
    private javax.swing.JLabel jL_LP_Cotrasena;
    private javax.swing.JLabel jL_LP_FechaAdquisicion;
    private javax.swing.JLabel jL_LP_FechaExpiracion;
    private javax.swing.JLabel jL_LP_Key;
    private javax.swing.JLabel jL_LP_Link;
    private javax.swing.JLabel jL_LP_NoSerie;
    private javax.swing.JLabel jL_LP_Titulo;
    private javax.swing.JLabel jL_LP_Usuario;
    private javax.swing.JLabel jL_LicenciaProductos;
    private javax.swing.JLabel jL_M_CampoExtra1;
    private javax.swing.JLabel jL_M_CampoExtra2;
    private javax.swing.JLabel jL_M_Cotrasena;
    private javax.swing.JLabel jL_M_FechaAdquisicion;
    private javax.swing.JLabel jL_M_FechaExpiracion;
    private javax.swing.JLabel jL_M_Titulo;
    private javax.swing.JLabel jL_M_Usuario;
    private javax.swing.JLabel jL_Membresia;
    private javax.swing.JLabel jL_RU_Apellido1;
    private javax.swing.JLabel jL_RU_Apellido2;
    private javax.swing.JLabel jL_RU_Cotrasena;
    private javax.swing.JLabel jL_RU_Cotrasena1;
    private javax.swing.JLabel jL_RU_Nombre1;
    private javax.swing.JLabel jL_RU_Nombre2;
    private javax.swing.JLabel jL_RU_RegistroUsuario;
    private javax.swing.JLabel jL_RU_Usuario;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JMenuItem jMI_A_BorraroTodo;
    private javax.swing.JMenuItem jMI_A_CambiarContrasena;
    private javax.swing.JMenuItem jMI_C_T_AplicacionInternet;
    private javax.swing.JMenuItem jMI_C_T_DispositivosElectronicos;
    private javax.swing.JMenuItem jMI_C_T_LicenciaProductos;
    private javax.swing.JMenuItem jMI_C_T_Membresias;
    private javax.swing.JMenuItem jMI_G_AplicacionInternet;
    private javax.swing.JMenuItem jMI_G_DispositivosElectronicos;
    private javax.swing.JMenuItem jMI_G_LicenciaProductos;
    private javax.swing.JMenuItem jMI_G_Membresias;
    private javax.swing.JMenu jM_Ajustes;
    private javax.swing.JMenu jM_C_Tablas;
    private javax.swing.JMenu jM_Consultas;
    private javax.swing.JMenu jM_Grupos;
    private javax.swing.JMenuBar jMenuBar;
    public javax.swing.JPasswordField jPF_AI_Contrasena;
    private javax.swing.JPasswordField jPF_CC_Contrasena1;
    private javax.swing.JPasswordField jPF_CC_Contrasena2;
    private javax.swing.JPasswordField jPF_CC_ContrasenaActual;
    public javax.swing.JPasswordField jPF_DE_Contrasena;
    public javax.swing.JPasswordField jPF_LP_Contrasena;
    public javax.swing.JPasswordField jPF_M_Contrasena;
    public javax.swing.JPasswordField jPF_RU_Contrasena;
    public javax.swing.JPasswordField jPF_RU_Contrasena1;
    private javax.swing.JPasswordField jPF_SI_Contrasena;
    private javax.swing.JPanel jP_AplicacionInternet;
    private javax.swing.JPanel jP_Busqueda;
    public javax.swing.JPanel jP_BusquedaTablas;
    private javax.swing.JPanel jP_CambiarContrasena;
    private javax.swing.JPanel jP_DispositivosElectronicos;
    private javax.swing.JPanel jP_Estado;
    private javax.swing.JPanel jP_LicenciaProductos;
    private javax.swing.JPanel jP_Membresias;
    private javax.swing.JPanel jP_RegistroUsuario;
    private javax.swing.JPanel jP_SignIn;
    private javax.swing.JScrollPane jSP_B_Tabla;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTextField jTF_AI_CampoExtra1;
    private javax.swing.JTextField jTF_AI_CampoExtra2;
    public javax.swing.JTextField jTF_AI_Link;
    public javax.swing.JTextField jTF_AI_Titulo;
    public javax.swing.JTextField jTF_AI_Usuario;
    public javax.swing.JTextField jTF_BT_Busqueda;
    public javax.swing.JTextField jTF_B_Busqueda;
    private javax.swing.JTextField jTF_DE_CampoExtra1;
    private javax.swing.JTextField jTF_DE_CampoExtra2;
    public javax.swing.JTextField jTF_DE_Titulo;
    public javax.swing.JTextField jTF_DE_Usuario;
    private javax.swing.JTextField jTF_LP_CampoExtra1;
    private javax.swing.JTextField jTF_LP_CampoExtra2;
    public javax.swing.JTextField jTF_LP_Key;
    public javax.swing.JTextField jTF_LP_Link;
    public javax.swing.JTextField jTF_LP_NoSerie;
    public javax.swing.JTextField jTF_LP_Titulo;
    public javax.swing.JTextField jTF_LP_Usuario;
    private javax.swing.JTextField jTF_M_CampoExtra1;
    private javax.swing.JTextField jTF_M_CampoExtra2;
    public javax.swing.JTextField jTF_M_Titulo;
    public javax.swing.JTextField jTF_M_Usuario;
    public javax.swing.JTextField jTF_RU_Apellido1;
    public javax.swing.JTextField jTF_RU_Apellido2;
    public javax.swing.JTextField jTF_RU_Nombre1;
    public javax.swing.JTextField jTF_RU_Nombre2;
    public javax.swing.JTextField jTF_RU_Usuario;
    private javax.swing.JTextField jTF_SI_Usuario;
    public javax.swing.JTable jT_Busqueda;
    public javax.swing.JTable jT_BusquedaTablas;
    // End of variables declaration//GEN-END:variables

    
    /**
     * Metodo utilizado para vaciar todos los jTextFields del programa.
     */
    public void vaciarTextFields(){
        jPF_AI_Contrasena.setText("");
        jTF_AI_Link.setText("");
        jTF_AI_Titulo.setText("");
        jTF_AI_Usuario.setText("");
        jTF_DE_Titulo.setText("");
        jTF_DE_Usuario.setText("");
        jTF_LP_Key.setText("");
        jTF_LP_Link.setText("");
        jTF_LP_NoSerie.setText("");
        jTF_LP_Titulo.setText("");
        jTF_LP_Usuario.setText("");
        jTF_M_Titulo.setText("");
        jTF_M_Usuario.setText("");
        jTF_RU_Nombre1.setText("");
        jTF_RU_Nombre2.setText("");
        jTF_RU_Apellido1.setText("");
        jTF_RU_Apellido2.setText("");
        jTF_RU_Usuario.setText("");
        jPF_RU_Contrasena.setText("");
        jPF_RU_Contrasena1.setText("");
        jPF_DE_Contrasena.setText("");
        jPF_LP_Contrasena.setText("");
        jPF_M_Contrasena.setText("");
        jFTF_LP_FechaAdquisicion.setText("");
        jFTF_LP_FechaExpiracion.setText("");
        jFTF_M_FechaAdquisicion.setText("");
        jFTF_M_FechaExpiracion.setText("");
        jTF_SI_Usuario.setText("");
        jPF_SI_Contrasena.setText("");
        jPF_CC_Contrasena1.setText("");
        jPF_CC_Contrasena2.setText("");
        jPF_CC_ContrasenaActual.setText("");
        
    }
    
    /**
     * Metodo utilizado para vaciar el arreglo en el que se almacenan temporalmente
     * los datos de determinado grupo.
     */
    public void vaciarArrayTextFields() {
        for(int x=0; x<tFields.size(); x = 0){
            tFields.remove(x);
        }
    }
    
    /**
     * Metodo que habilita las casillas y botones pertinentes para el ingreso de
     * datos
     */
    public void habilitarIngresoDatos() {
        jPF_AI_Contrasena.setEnabled(true);
        jTF_AI_Link.setEnabled(true);
        jTF_AI_Titulo.setEnabled(true);
        jTF_AI_Usuario.setEnabled(true);
        jTF_DE_Titulo.setEnabled(true);
        jTF_DE_Usuario.setEnabled(true);
        jTF_LP_Key.setEnabled(true);
        jTF_LP_Link.setEnabled(true);
        jTF_LP_NoSerie.setEnabled(true);
        jTF_LP_Titulo.setEnabled(true);
        jTF_LP_Usuario.setEnabled(true);
        jTF_M_Titulo.setEnabled(true);
        jTF_M_Usuario.setEnabled(true);
        jPF_DE_Contrasena.setEnabled(true);
        jPF_LP_Contrasena.setEnabled(true);
        jPF_M_Contrasena.setEnabled(true);
        jFTF_LP_FechaAdquisicion.setEnabled(true);
        jFTF_LP_FechaExpiracion.setEnabled(true);
        jFTF_M_FechaAdquisicion.setEnabled(true);
        jFTF_M_FechaExpiracion.setEnabled(true);
        jB_AI_Cancelar.setEnabled(true);
        jB_AI_Guardar.setEnabled(true);
        jB_AI_AgregarCampo.setEnabled(true);
        jB_DE_Cancelar.setEnabled(true);
        jB_DE_Guardar.setEnabled(true);
        jB_DE_AgregarCampo.setEnabled(true);
        jB_LP_Cancelar.setEnabled(true);
        jB_LP_Guardar.setEnabled(true);
        jB_LP_AgregarCampo.setEnabled(true);
        jB_M_Cancelar.setEnabled(true);
        jB_M_Guardar.setEnabled(true);
        jB_M_AgregarCampo.setEnabled(true);
        jTF_RU_Nombre1.setEnabled(true);
        jTF_RU_Nombre2.setEnabled(true);
        jTF_RU_Apellido1.setEnabled(true);
        jTF_RU_Apellido2.setEnabled(true);
        jTF_RU_Usuario.setEnabled(true);
        jPF_RU_Contrasena.setEnabled(true);
        jPF_RU_Contrasena1.setEnabled(true);
        jB_RU_Guardar.setEnabled(true);
        jB_RU_Cancelar.setEnabled(true);
        jButton2.setEnabled(true);
        jButton4.setEnabled(true);
        jButton3.setEnabled(true);
        jButton1.setEnabled(true);
        jButton2.setEnabled(true);;
        vaciarTextFields();
    }
    
    /**
     * Metodo que inhabilita las casillas y botones pertinentes para que no se puedan
     * intresar datos
     */
    public void inhabilitarIngresoDatos() {
        jPF_AI_Contrasena.setEnabled(false);
        jTF_AI_Link.setEnabled(false);
        jTF_AI_Titulo.setEnabled(false);
        jTF_AI_Usuario.setEnabled(false);
        jTF_DE_Titulo.setEnabled(false);
        jTF_DE_Usuario.setEnabled(false);
        jTF_LP_Key.setEnabled(false);
        jTF_LP_Link.setEnabled(false);
        jTF_LP_NoSerie.setEnabled(false);
        jTF_LP_Titulo.setEnabled(false);
        jTF_LP_Usuario.setEnabled(false);
        jTF_M_Titulo.setEnabled(false);
        jTF_M_Usuario.setEnabled(false);
        jPF_DE_Contrasena.setEnabled(false);
        jPF_LP_Contrasena.setEnabled(false);
        jPF_M_Contrasena.setEnabled(false);
        jFTF_LP_FechaAdquisicion.setEnabled(false);
        jFTF_LP_FechaExpiracion.setEnabled(false);
        jFTF_M_FechaAdquisicion.setEnabled(false);
        jFTF_M_FechaExpiracion.setEnabled(false);
        jB_AI_Cancelar.setEnabled(false);
        jB_AI_Guardar.setEnabled(false);
        jB_AI_AgregarCampo.setEnabled(false);
        jB_DE_Cancelar.setEnabled(false);
        jB_DE_Guardar.setEnabled(false);
        jB_DE_AgregarCampo.setEnabled(false);
        jB_LP_Cancelar.setEnabled(false);
        jB_LP_Guardar.setEnabled(false);
        jB_LP_AgregarCampo.setEnabled(false);
        jB_M_Cancelar.setEnabled(false);
        jB_M_Guardar.setEnabled(false);
        jB_M_AgregarCampo.setEnabled(false);
        jTF_RU_Nombre1.setEnabled(false);
        jTF_RU_Nombre2.setEnabled(false);
        jTF_RU_Apellido1.setEnabled(false);
        jTF_RU_Apellido2.setEnabled(false);
        jTF_RU_Usuario.setEnabled(false);
        jPF_RU_Contrasena.setEnabled(false);
        jPF_RU_Contrasena1.setEnabled(false);
        jB_RU_Guardar.setEnabled(false);
        jB_RU_Cancelar.setEnabled(false);
        jButton2.setEnabled(false);
        jButton4.setEnabled(false);
        jButton3.setEnabled(false);
        jButton1.setEnabled(false);
        jButton2.setEnabled(false);
        jTF_M_CampoExtra1.setEditable(false);
        jTF_M_CampoExtra2.setEnabled(false);
        jTF_AI_CampoExtra1.setEnabled(false);
        jTF_AI_CampoExtra2.setEnabled(false);
        jTF_LP_CampoExtra1.setEnabled(false);
        jTF_LP_CampoExtra2.setEnabled(false);
        jTF_DE_CampoExtra1.setEnabled(false);
        jTF_DE_CampoExtra2.setEnabled(false);
        vaciarTextFields();
    }
}